home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / answrbok / 5_2.lha / 5_2 / tnode.h < prev    next >
Text File  |  1993-08-08  |  509b  |  25 lines

  1. * Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
  2. * The C++ Answer Book */
  3. * Tony Hansen */
  4. * All rights reserved. */
  5. * Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
  6. * The C++ Answer Book */
  7. * Tony Hansen */
  8. * All rights reserved. */
  9. / tnode.h
  10. / Exercise 5.2
  11. ifndef TNODE_H
  12.  define TNODE_H
  13.  
  14. truct tnode        // tree node
  15.  
  16.    char *tword;    // string
  17.    int count;        // reference count
  18.    tnode *left,
  19.   *right;
  20.  
  21.    tnode(char*);
  22.    ~tnode();
  23. ;
  24. endif /* TNODE_H */
  25.